//
//  ViewController.m
//  PlayerController
//
//  Created by 赵俊明 on 2018/12/3.
//  Copyright © 2018 赵俊明. All rights reserved.
//

#import "ViewController.h"
#import "ZFPlayerControlView.h"
#import "Masonry.h"
#import "JMPlayerController.h"

@interface ViewController ()

@end

@implementation ViewController

- (IBAction)action:(id)sender {
    
    JMPlayerController *pvc = [JMPlayerController new];
    [self.navigationController pushViewController:pvc animated:YES];
}

- (void)viewDidLoad {
    [super viewDidLoad];
//    ZFPlayerControlView *cv = [[ZFPlayerControlView alloc] initWithFrame:self.view.bounds];
//    cv.backgroundColor = [UIColor redColor];
//    [self.view addSubview:cv];
//    [cv mas_makeConstraints:^(MASConstraintMaker *make) {
//        make.top.equalTo(self.view.mas_safeAreaLayoutGuideTop);
//        make.width.equalTo(self.view);
//        make.bottom.equalTo(self.view.mas_safeAreaLayoutGuideBottom);
//    }];
}


@end
